org.eclipse.ui.views.markers
Class ProblemView
java.lang.Object
org.eclipse.ui.part.WorkbenchPart
org.eclipse.ui.part.ViewPart
org.eclipse.ui.views.markers.internal.TableView
org.eclipse.ui.views.markers.internal.MarkerView
org.eclipse.ui.views.markers.ProblemView
- All Implemented Interfaces:
- IAdaptable, IExecutableExtension, IViewPart, IWorkbenchPart
- public class ProblemView
- extends org.eclipse.ui.views.markers.internal.MarkerView
Fields inherited from class org.eclipse.ui.views.markers.internal.MarkerView |
copyAction, deleteAction, focusResources, openAction, pasteAction, propertiesAction, revealAction, selectAllAction, showInNavigatorAction |
Fields inherited from class org.eclipse.ui.views.markers.internal.TableView |
columnLayouts, FILTERS_ACTION_ID, SORT_ACTION_ID |
Methods inherited from class org.eclipse.ui.views.markers.internal.MarkerView |
createPartControl, fillContextMenu, focusSelectionChanged, getVisibleMarkers, handleKeyPressed, handleOpenEvent, initDragAndDrop, initToolBar, refresh, registerGlobalActions, restoreSelection, saveSelection, sorterChanged, updateStatusMessage, updateStatusMessage, viewerSelectionChanged |
Methods inherited from class org.eclipse.ui.views.markers.internal.TableView |
createTable, getAction, getFields, getHeaderListener, getSelectionProvider, getSortDialog, getViewer, initActionBars, initContextMenu, putAction, setFocus, setSelection |
Methods inherited from class org.eclipse.ui.part.WorkbenchPart |
addPropertyListener, firePropertyChange, getAdapter, getConfigurationElement, getDefaultImage, getJobChangeListener, getSite, getTitle, getTitleImage, getTitleToolTip, removePropertyListener, setInitializationData, setSite, setTitle, setTitleImage, setTitleToolTip |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProblemView
public ProblemView()
dispose
public void dispose()
- Description copied from interface:
IWorkbenchPart
- Disposes of this workbench part.
This is the last method called on the IWorkbenchPart
. At this
point the part controls (if they were ever created) have been disposed as part
of an SWT composite. There is no guarantee that createPartControl() has been
called, so the part controls may never have been created.
Within this method a part may release any resources, fonts, images, etc.
held by this part. It is also very important to deregister all listeners
from the workbench.
Clients should not call this method (the workbench calls this method at
appropriate times).
init
public void init(IViewSite viewSite,
IMemento memento)
throws PartInitException
- Description copied from interface:
IViewPart
- Initializes this view with the given view site. A memento is passed to
the view which contains a snapshot of the views state from a previous
session. Where possible, the view should try to recreate that state
within the part controls.
This method is automatically called by the workbench shortly after part
construction. It marks the start of the views's lifecycle. Clients must
not call this method.
- Throws:
PartInitException
saveState
public void saveState(IMemento memento)
- Description copied from interface:
IViewPart
- Saves the object state within a memento.
getDefaultColumnLayouts
protected ColumnLayoutData[] getDefaultColumnLayouts()
getDialogSettings
protected IDialogSettings getDialogSettings()
createActions
protected void createActions()
createColumns
protected void createColumns(Table table)
fillContextMenuAdditions
protected void fillContextMenuAdditions(IMenuManager manager)
getFiltersDialog
protected org.eclipse.ui.views.markers.internal.DialogMarkerFilter getFiltersDialog()
getHiddenFields
protected org.eclipse.ui.views.markers.internal.IField[] getHiddenFields()
getRootTypes
protected String[] getRootTypes()
getSorter
protected org.eclipse.ui.views.markers.internal.TableSorter getSorter()
getViewerInput
protected Object getViewerInput()
getVisibleFields
protected org.eclipse.ui.views.markers.internal.IField[] getVisibleFields()
initMenu
protected void initMenu(IMenuManager menu)
setSelection
public void setSelection(IStructuredSelection structuredSelection,
boolean reveal)
updateSummaryVisible
protected String updateSummaryVisible()
- Retrieves statistical information (the total number of markers with each
severity type) for the markers contained in the marker registry for this
view. This information is then massaged into a string which may be
displayed by the caller.
- Returns:
- a message ready for display
updateSummarySelected
protected String updateSummarySelected(IStructuredSelection selection)
- Retrieves statistical information (the total number of markers with each
severity type) for the markers contained in the selection passed in.
This information is then massaged into a string which may be displayed
by the caller.
- Parameters:
selection
- a valid selection or null
- Returns:
- a message ready for display
getMarkerTypes
protected String[] getMarkerTypes()
getFilter
protected org.eclipse.ui.views.markers.internal.MarkerFilter getFilter()
openFiltersDialog
public void openFiltersDialog()
updateFilterSelection
protected void updateFilterSelection(IResource[] resources)
Copyright (c) IBM Corp. and others 2000, 2003. All Rights Reserved.